﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class MasterPage : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request.IsAuthenticated)
        {
            Register.Visible = true;
            ChangePassword.Visible = true;
            proiz.Visible = true;
            NavigationMenu.Visible = true;
        }
    }

    protected void MONITOR_Click(object sender, EventArgs e)
    {
        Response.Redirect("PcPart.aspx?id1=monitor");
    }
    protected void PCCASE_Click(object sender, EventArgs e)
    {
        Response.Redirect("PcPart.aspx?id2=pccase");
    }
    protected void PSU_Click(object sender, EventArgs e)
    {
        Response.Redirect("PcPart.aspx?id3=psu");
    }
    protected void MB_Click(object sender, EventArgs e)
    {
        Response.Redirect("PcPart.aspx?id4=mb");
    }
    protected void CPU_Click(object sender, EventArgs e)
    {
        Response.Redirect("PcPart.aspx?id5=cpu");
    }
    protected void GPU_Click(object sender, EventArgs e)
    {
        Response.Redirect("PcPart.aspx?id6=gpu");
    }
    protected void RAM_Click(object sender, EventArgs e)
    {
        Response.Redirect("PcPart.aspx?id7=ram");
    }
    protected void HDD_Click(object sender, EventArgs e)
    {
        Response.Redirect("PcPart.aspx?id8=hdd");
    }
    protected void ODD_Click(object sender, EventArgs e)
    {
        Response.Redirect("PcPart.aspx?id9=odd");
    }
    protected void KEYBOARD_Click(object sender, EventArgs e)
    {
        Response.Redirect("PcPart.aspx?id10=keyboard");
    }
    protected void MOUSE_Click(object sender, EventArgs e)
    {
        Response.Redirect("PcPart.aspx?id11=mouse");
    }
    protected void NETEQUIPMENT_Click(object sender, EventArgs e)
    {
        Response.Redirect("PcPart.aspx?id12=netequipment");
    }

}
